package com.cmy.framework_network.error

class GlobalErrorHandler : FailureHandler {
    /**
     * 统一处理错误编码信息
     */
    override fun onFailure(throwable: BusinessException) {
        when (throwable.code) {
            2096 -> {
            }
            3099 -> {
            }
        }
    }
}